import http from "../utils/http";
import {Group} from "../type.ts";

export default {
   queryList:function (){
       return http.get<Group[]>("/apple/group");
   },
   add:function (data: Group){
       return http.post("/apple/group",data);
   }
}